package com.ruoyi.system.mapper;

import com.microsoft.schemas.vml.STTrueFalse;
import com.ruoyi.system.domain.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface PoetryMapper
{
  void insertCi(@Param("ci") String ci, @Param("explanation") String explanation,@Param("newciyb")String newciyb,@Param("newexplanationyb")String newexplanationyb);
  void insertxiehouyu(@Param("riddle")String riddle, @Param("answer")String answer, @Param("riddlepy")String riddlepy, @Param("answerpy")String answerpy);
  void insertChengyu(@Param("derivation")String derivation,@Param("example")String example,@Param("explanation")String explanation,@Param("pinyin")String pinyin,@Param("word")String word,@Param("abbreviation")String abbreviation );
  void insertword(@Param("word")String word,@Param("oldword")String oldword,@Param("strokes")String strokes,@Param("pinyin")String pinyin,@Param("radicals")String radicals,@Param("explanation")String explanation,@Param("more")String more );
  List<Lunyu> lunyuList();
  void updatelunyu(@Param("id")String id,@Param("chapter")String chapter,@Param("content")String content);
  List<PoetryAuthor> findPoetryAuthor();
  void updatePoetryAuthor(@Param("id")String id,@Param("name")String name,@Param("intro")String intro);
  List<Poetry> findPoetryList();
  void updatePoetry(@Param("id")String id ,@Param("title")String title, @Param("content")String content, @Param("author")String author);
  String findWord(@Param("oldword") String oldword);
  void saveWord(@Param("word")String word, @Param("oldword")String oldword);
  void saveZi(@Param("bssy") Bssy bssy);
  void updaueZi(@Param("bssy") Bssy bssy);
  Bssy findBssy();
  Integer total();
  List<ConvertWord> findConvertWord();
}
